﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxSearchListXemBinhChon.aspx.cs" Inherits="ProjectQuaDep.Ajax.AjaxSearchListXemBinhChon" %>

<%@ Register src="../Control/CustomPaging.ascx" tagname="CustomPaging" tagprefix="uc1" %>
<%@ Import Namespace="BAL" %>

<center><asp:Literal id="ltrMessage" runat="server"></asp:Literal></center>
<div id="divContent" runat="server">
    <ul class="duthi">
        <asp:Repeater ID="rptData" runat="server" onitemdatabound="rptData_ItemDataBound">
            <ItemTemplate>
                <li>
                    <div class="item">
                        <a href="<%# Eval(Const.Images.Url) %>"><%# Eval(Const.Images.IMAGEURL) %></a>
                        <div class="main-name"><a href="<%# Eval(Const.Images.Url) %>"><%# Eval(Const.Images.Name) %></a></div>
                        <div class="main-info">
                            <span class="">
                                <iframe src="//www.facebook.com/plugins/like.php?href=<%=BO.Const.sHttpDomain %><%# Eval(Const.Images.Url) %>&amp;width=100&amp;height=21&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=false&amp;appId=313386658769610" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
                                <%--<img src="/Images/Web/Like.gif" />--%>
                            </span>
                            <span class="count_<%# Eval(Const.Images.ImageId) %>"><div class="innertext"></div><a href="<%# Eval(Const.Images.Url) %>#divComment" ><img class="small-img" src="/Images/Web/Comment.gif" /></a></span>
                            <span class="countcs_<%# Eval(Const.Images.ImageId) %>"><div class="innertext"></div><a href="https://www.facebook.com/sharer/sharer.php?u=<%=BO.Const.sHttpDomain %><%# Eval(Const.Images.Url) %>" target="_blank"><img class="small-img" src="/Images/Web/Share.gif" /></a></span>
                            <span class=""><div class="loadPointVote<%# Eval(Const.Images.ImageId) %>"><asp:Literal ID="ltrBinhChon" runat="server"></asp:Literal></div><a href="javascript:void(0);" onclick="UpdateVoteByID_Hung(<%# Eval(Const.Images.ImageId) %>,'loadPointVote<%# Eval(Const.Images.ImageId) %>')"><img class="small-img" src="/Images/Web/Vote.gif" /></a></span>
                        </div>
                    </div>
                </li>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <li class="pr0">
                    <div class="item">
                        <a href="<%# Eval(Const.Images.Url) %>"><%# Eval(Const.Images.IMAGEURL) %></a>
                        <div class="main-name"><a href="<%# Eval(Const.Images.Url) %>"><%# Eval(Const.Images.Name) %></a></div>
                        <div class="main-info">
                            <span class="">
                                <iframe src="//www.facebook.com/plugins/like.php?href=<%=BO.Const.sHttpDomain %><%# Eval(Const.Images.Url) %>&amp;width=100&amp;height=21&amp;colorscheme=light&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;send=false&amp;appId=313386658769610" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
                                <%--<img src="/Images/Web/Like.gif" />--%>
                            </span>
                            <span class="count_<%# Eval(Const.Images.ImageId) %>"><div class="innertext"></div><a href="<%# Eval(Const.Images.Url) %>#divComment" ><img class="small-img" src="/Images/Web/Comment.gif" /></a></span>
                            <span class="countcs_<%# Eval(Const.Images.ImageId) %>"><div class="innertext"></div><a href="https://www.facebook.com/sharer/sharer.php?u=<%=BO.Const.sHttpDomain %><%# Eval(Const.Images.Url) %>" target="_blank"><img class="small-img" src="/Images/Web/Share.gif" /></a></span>
                            <span class=""><div class="loadPointVote<%# Eval(Const.Images.ImageId) %>"><asp:Literal ID="ltrBinhChon" runat="server"></asp:Literal></div><a href="javascript:void(0);" onclick="UpdateVoteByID_Hung(<%# Eval(Const.Images.ImageId) %>,'loadPointVote<%# Eval(Const.Images.ImageId) %>')"><img class="small-img" src="/Images/Web/Vote.gif" /></a></span>
                        </div>
                    </div>
                </li>
            </AlternatingItemTemplate>
        </asp:Repeater>
    </ul>
    <uc1:CustomPaging ID="CustomPaging1" runat="server" />
    <asp:Literal ID="ltrScritp" runat="server"></asp:Literal>
</div>
<script type="text/javascript">
    $(".duthi li div.item").mouseenter(function () {
        $(this).find('div.main-name').show();
        $(this).find('div.main-name').animate({ 'bottom': '60px' }, 1000, 'easeOutBounce');
    }).mouseleave(function () {
        $(this).find('div.main-name').animate({ 'bottom': '-60px' }, 1000, 'easeOutBounce');
    });
    $(".head p a").html($("#hdAwardTitle").val());
</script>
